<!DOCTYPE html>
<html>
<head>
	<title>用户列表</title>
	<style>.size{width:180px;height:200px;}</style>
	<link href="__PUBLIC__/bootstrap/css/bootstrap.min.css" rel="stylesheet">
	<link rel="stylesheet" href="__PUBLIC__/bootstrap/css/bootstrap-theme.min.css">
    <!-- jQuery文件。务必在bootstrap.min.js 之前引入 -->
    <script src="__PUBLIC__/bootstrap/js/jquery.min.js"></script>
    <!-- 最新的 Bootstrap 核心 JavaScript 文件 -->
    <script src="__PUBLIC__/bootstrap/js/bootstrap.min.js"></script>
	
</head>
<body>
<h1>用户管理页面</h1>
<table class='table table-bordered'>
<tr>
<th>头像</th>
<th>用户名</th>
<th>性别</th>
<th>邮箱</th>
<th>电话</th>
<th>简介</th>
<th>学号</th>
<th>状态</th>
<th>操作</th>
</tr>
<volist name="users" id="vo">
  <tr>
	<th><img src="__PUBLIC__/Uploads/photo/{$vo.photo}" alt="头像不存在" class="size"></th>
	<!-- __PUBLIC__  表示public目录-->
	<th>{$vo.username}</th>
	<th><if condition="$vo.tid eq 1">男
		<else/>女
		</if></th>
	<th>{$vo.email}</th>
	<th>{$vo.tele}</th>
	<th>{$vo.intro}</th>
	<th>{$vo.stunum}</th>
	<th><if condition="$vo.state eq 0">普通用户
		<else/>禁言
		</if></th>
		<th><!-- <a href="del?id={$vo.uid}">删除</a><br>
	<a href="update?id={$vo.uid}">修改</a> -->
	            <div class="btn-group">
                <a class="btn btn-small dropdown-toggle" data-toggle="dropdown" href="#">
                   操作
                 <span class="caret"></span>
                  </a>
	             <ul class="dropdown-menu pull-right">
                 <li><a href="update?id={$vo.uid}"><i class="icon-envelope"></i>修改</a></li>
                 <li><a href="del?id={$vo.uid}"><i class="icon-edit"></i> 删除</a></li>
                 <li>
                    <if condition ="$vo.state eq 0"> <a href="setjy?id={$vo.uid}"><i class="icon-trash">禁言</i></a>
                    <else/><a href="deljy?id={$vo.uid}"><i class="icon-trash">解禁</i></a>
                    </if>
                     </a></li>
 </ul>
	</th>
</tr>
</volist>
<!-- <div class="pagination">
{$page}
</div> -->
<!-- '__ROOT__:'    __ROOT__ <br>
'__APP__:'    __APP__ <br>
'__CONTROLLER__:'    __CONTROLLER__ <br> -->
</body>
</html>